//
//  ProductFrame.h
//  UI Demo
//
//  Created by Rainy Zou on 15/11/30.
//  Copyright © 2015年 Rainy Zou. All rights reserved.
//

#define FONTSIZE 14
#import <Foundation/Foundation.h>
#import "UIKit/UIKit.h"
@class Product;

@interface ProductFrame : NSObject

@property (nonatomic, assign) CGRect imageF;
@property (nonatomic, assign) CGRect nameF;
@property (nonatomic, assign) CGRect priceF;

@property (nonatomic, strong) Product *product;

@property (nonatomic , assign) CGSize productSize;

-(instancetype)initWithProduct:(Product *)product;
+(instancetype)frameByProduct:(Product *)product;

@end
